package com.atguigu.product.vo;

import com.atguigu.product.entity.SkuImagesEntity;
import com.atguigu.product.entity.SkuInfoEntity;

import com.atguigu.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * description: SkuItemVo
 * date: 2022/12/1 18:32
 * author: MR.孙
 */
@Data
public class SkuItemVo {

    //1. sku的基本信息   pms_sku_info
    public SkuInfoEntity skuInfo;
    //是否有货
    public Boolean hasStock = true;
    //2. sku的图片信息   pms_spu_images
    public List<SkuImagesEntity> iamges;
    //3. spu下的sku组合，即销售属性
    public List<SkuItemSaleAttrVo> attrValues;

    //4. spu的介绍, pms    pms_spu_info_desc
    public SpuInfoDescEntity desp;

    //5. spu的规格参数
    public List<SpuItemAttrGroupVo> groupAttrs;

    // 6、当前商品的秒杀优惠信息
    public SeckillSkuVo seckillSkuVo;

}
